﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using AjaxPro;
public partial class _jquery_JquerynoConfictFunction : System.Web.UI.Page
{
    Linq_SQLServeDataContext LSDB = new Linq_SQLServeDataContext();
    protected void Page_Load(object sender, EventArgs e)
    {
        Utility.RegisterTypeForAjax(typeof(_jquery_JquerynoConfictFunction));
    }
    [AjaxMethod]
    public string pubTab(int v)
    {
      M_New NewTab =   LSDB.M_News.Where(p => p.Id == v).First();
      return "名字:" + NewTab.Title+"\\r\\n更新時間"+NewTab.UpdateDate+"東東啊東:"+NewTab.Content;
    }
}
